/*
 * graphCompletetionTest.c
 *
 *  Created on: May 22, 2013
 *      Author: koldar
 */

#include <stdlib.h>
#include "graph.h"

int main(int argn,const char** args){
	FILE* f;
	Pgraph pgraph;
	if (argn==2){
		f=fopen(args[1],"r");
	}else{
		printf("numero di parametri passati errati.\n");
		return EXIT_FAILURE;
	}

	parseGraph(f);
	//printGraph(stdout,graph);
	printAdjMatrix(stdout,pgraph,'t');
	dijkstraFiller(pgraph);
	//connettiGrafo(graph,graph->depot);
	//printGraph(stdout,graph);
	printAdjMatrix(stdout,pgraph,'t');
	printf("FINE.\n");
}
